package speelotheek.views;

import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.SwingConstants;
import java.awt.Color;

public class Main extends JPanel 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8236850691066768298L;
	public JButton btnMainContinue;
	
	/**
	 * Create the panel.
	 */
	public Main() 
	{
		setLayout(new BorderLayout(0, 0));
		
		JLabel lblWelkom = new JLabel("Welkom");
		lblWelkom.setForeground(Color.DARK_GRAY);
		lblWelkom.setHorizontalAlignment(SwingConstants.CENTER);
		lblWelkom.setFont(new Font("Tahoma", Font.BOLD, 26));
		add(lblWelkom, BorderLayout.NORTH);
		
		JLabel lblSpeelotheekklapstuk = new JLabel("Speel-o-theek 'Klapstuk' - Leiden");
		lblSpeelotheekklapstuk.setIcon(new ImageIcon(Main.class.getResource("/speelotheek/resources/ninjatoy_128.png")));
		lblSpeelotheekklapstuk.setForeground(Color.DARK_GRAY);
		lblSpeelotheekklapstuk.setFont(new Font("Tahoma", Font.PLAIN, 20));
		lblSpeelotheekklapstuk.setHorizontalAlignment(SwingConstants.CENTER);
		add(lblSpeelotheekklapstuk, BorderLayout.CENTER);
		
		btnMainContinue = new JButton("Doorgaan");
		btnMainContinue.setIcon(new ImageIcon(Main.class.getResource("/speelotheek/resources/tick_48.png")));
		add(btnMainContinue, BorderLayout.SOUTH);
	}

}
